ISlave.AoeReadSdoObject method

Reads data from a slave using the ADS over EtherCAT (AoE) SDO method.

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
IKsCommand<byte[]> AoeReadSdoObject(
       int port,
       int obIndex,
       int obSubIndex,
       bool completeAccess,
       int length
)
Function AoeReadSdoObject(
       port As Integer,
       obIndex As Integer,
       obSubIndex As Integer,
       completeAccess As Boolean,
       length As Integer
) As IKsCommand(Of Byte())

Parameters

port

Type: int

The EtherCAT slave port.

 

obIndex

Type: int

The index of the object to read in the object dictionary.

 

obSubIndex

Type: int

The subindex of the object to read in the object dictionary.

 

completeAccess

Type: bool

true: Reads all subindexes. false: Reads a single subindex.

 

length

Type: Int32

The length in byte of the value to read.

Return value

Type: IKsCommand<byte[]>

Returns the states of a method and a byte array.

Usable EtherCAT states

ecatPreOP, ecatSafeOP, ecatOP

See also

ISlave Interface

IntervalZero.KINGSTAR.Base.Class Namespace